/*
 * Jp_RechercherClient.java
 *
 * Created on 6 avril 2008, 11:22
 */

package gui;

import IBO.IClientParticulier;
import IBO.IClientSociete;
import IUSECASE.IUC_Factory;
import boerrors.AdresseMinimumMultiplicityException;
import boerrors.CodePostalMinimumMultiplicityException;
import java.rmi.RemoteException;
import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
   
/**
 *
 * @author  olivierm
 */
public class Jp_RechercherClient extends javax.swing.JPanel {
    
    private DefaultTableModel _tableModeleClientP = new DefaultTableModel();
    private DefaultTableModel _tableModeleClientS = new DefaultTableModel();
    private Frm_Application _parent = null;
    private Jp_DetailsClientP _defaultClientP = null;
    private Jp_DetailsClientS _defaultClientS = null;
    private String[] _colNameClientP = {"Id","Nom","Prénom"};
    private String[] _colNameClientS = {"Id","Nom société","Contact: Nom","Contact: Prénom"};
    private Vector<IClientParticulier> _cltP = null;
    private Vector<IClientSociete> _cltS = null;
    
    public void initComponents2(Frm_Application parent, Jp_DetailsClientP jpCltDetailsP, Jp_DetailsClientS jpCltDetailsS){
        this._parent = parent;
        this._defaultClientP = jpCltDetailsP;
        this._defaultClientS = jpCltDetailsS;
        this._tableModeleClientP.setColumnIdentifiers(_colNameClientP);
        this._tableModeleClientS.setColumnIdentifiers(_colNameClientS);
    }    
    
    /** Creates new form Jp_RechercherClient */
    public Jp_RechercherClient() {
        initComponents();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel7 = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jXTitledPanel_ClientP = new org.jdesktop.swingx.JXTitledPanel();
        jXPanel4 = new org.jdesktop.swingx.JXPanel();
        jTabbedPane2 = new javax.swing.JTabbedPane();
        jXPanel1 = new org.jdesktop.swingx.JXPanel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jtxt_PrenomClientP = new javax.swing.JTextField();
        jtxt_NomClientP = new javax.swing.JTextField();
        jbtn_RechercheNomPrenomClientP = new javax.swing.JButton();
        jXPanel2 = new org.jdesktop.swingx.JXPanel();
        jLabel5 = new javax.swing.JLabel();
        jtxt_IdClientP = new javax.swing.JTextField();
        jbtn_RechercheIdClientP = new javax.swing.JButton();
        jXPanel3 = new org.jdesktop.swingx.JXPanel();
        jLabel6 = new javax.swing.JLabel();
        jtxt_RueClientP = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        jtxt_NumeroClientP = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        jtxt_CommuneClientP = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        jtxt_CodePostalClientP = new javax.swing.JTextField();
        jbtn_Rechercher = new javax.swing.JButton();
        jXPanel5 = new org.jdesktop.swingx.JXPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTable_ClientP = new javax.swing.JTable();
        jbtn_SelectionClientP = new javax.swing.JButton();
        jButton6 = new javax.swing.JButton();
        jXTitledPanel_ClientS = new org.jdesktop.swingx.JXTitledPanel();
        jXPanel6 = new org.jdesktop.swingx.JXPanel();
        jTabbedPane3 = new javax.swing.JTabbedPane();
        jXPanel7 = new org.jdesktop.swingx.JXPanel();
        jLabel1 = new javax.swing.JLabel();
        jtxt_NomClientS = new javax.swing.JTextField();
        jbtn_RechercheNomClientS = new javax.swing.JButton();
        jXPanel8 = new org.jdesktop.swingx.JXPanel();
        jLabel15 = new javax.swing.JLabel();
        Jtxt_IdClientS = new javax.swing.JTextField();
        jButton10 = new javax.swing.JButton();
        jXPanel9 = new org.jdesktop.swingx.JXPanel();
        jLabel10 = new javax.swing.JLabel();
        jtxt_RueClientS = new javax.swing.JTextField();
        jLabel12 = new javax.swing.JLabel();
        jtxt_NumeroClientS = new javax.swing.JTextField();
        jtxt_CodePostalClientS = new javax.swing.JTextField();
        jLabel13 = new javax.swing.JLabel();
        jtxt_CommuneClientS = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jButton9 = new javax.swing.JButton();
        jXPanel10 = new org.jdesktop.swingx.JXPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable_ClientS = new javax.swing.JTable();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();

        jPanel7.setBackground(new java.awt.Color(0, 102, 153));
        jPanel7.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jLabel11.setFont(new java.awt.Font("Tahoma", 3, 14));
        jLabel11.setForeground(new java.awt.Color(255, 255, 255));
        jLabel11.setText("Recherche d'un client");

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel11)
                .addContainerGap(447, Short.MAX_VALUE))
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel7Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel11)
                .addContainerGap())
        );

        jXTitledPanel_ClientP.setTitle(" Recherche d'un client particulier");

        jXPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Critères de rechercher"));

        jLabel3.setText("Nom:");

        jLabel4.setText("Prénom:");

        jbtn_RechercheNomPrenomClientP.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jbtn_RechercheNomPrenomClientP.setText("Recherche");
        jbtn_RechercheNomPrenomClientP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_RechercheNomPrenomClientPActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel1Layout = new javax.swing.GroupLayout(jXPanel1);
        jXPanel1.setLayout(jXPanel1Layout);
        jXPanel1Layout.setHorizontalGroup(
            jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jXPanel1Layout.createSequentialGroup()
                        .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel4)
                            .addComponent(jLabel3))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jtxt_PrenomClientP, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 518, Short.MAX_VALUE)
                            .addComponent(jtxt_NomClientP, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 518, Short.MAX_VALUE))
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jXPanel1Layout.createSequentialGroup()
                        .addComponent(jbtn_RechercheNomPrenomClientP)
                        .addGap(10, 10, 10))))
        );
        jXPanel1Layout.setVerticalGroup(
            jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(jtxt_NomClientP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4)
                    .addComponent(jtxt_PrenomClientP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jbtn_RechercheNomPrenomClientP)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Nom / Prénom", jXPanel1);

        jLabel5.setText("Numéro de client:");

        jbtn_RechercheIdClientP.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jbtn_RechercheIdClientP.setText("Rechercher");
        jbtn_RechercheIdClientP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_RechercheIdClientPActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel2Layout = new javax.swing.GroupLayout(jXPanel2);
        jXPanel2.setLayout(jXPanel2Layout);
        jXPanel2Layout.setHorizontalGroup(
            jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jXPanel2Layout.createSequentialGroup()
                        .addComponent(jLabel5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtxt_IdClientP, javax.swing.GroupLayout.DEFAULT_SIZE, 474, Short.MAX_VALUE))
                    .addComponent(jbtn_RechercheIdClientP, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jXPanel2Layout.setVerticalGroup(
            jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jtxt_IdClientP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jbtn_RechercheIdClientP)
                .addContainerGap(39, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Numéro de client", jXPanel2);

        jLabel6.setText("Rue:");

        jLabel7.setText("Numéro:");

        jLabel8.setText("Commune:");

        jLabel9.setText("Code Postal:");

        jbtn_Rechercher.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jbtn_Rechercher.setText("Rechercher");
        jbtn_Rechercher.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_RechercherActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel3Layout = new javax.swing.GroupLayout(jXPanel3);
        jXPanel3.setLayout(jXPanel3Layout);
        jXPanel3Layout.setHorizontalGroup(
            jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jXPanel3Layout.createSequentialGroup()
                        .addGroup(jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel8)
                            .addComponent(jLabel6))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jtxt_RueClientP, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 333, Short.MAX_VALUE)
                            .addComponent(jtxt_CommuneClientP, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 333, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel9)
                            .addComponent(jLabel7))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jtxt_NumeroClientP, javax.swing.GroupLayout.DEFAULT_SIZE, 105, Short.MAX_VALUE)
                            .addComponent(jtxt_CodePostalClientP, javax.swing.GroupLayout.DEFAULT_SIZE, 105, Short.MAX_VALUE)))
                    .addComponent(jbtn_Rechercher, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jXPanel3Layout.setVerticalGroup(
            jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(jtxt_NumeroClientP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel7)
                    .addComponent(jtxt_RueClientP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(jtxt_CodePostalClientP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel9)
                    .addComponent(jtxt_CommuneClientP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jbtn_Rechercher)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Adresse", jXPanel3);

        javax.swing.GroupLayout jXPanel4Layout = new javax.swing.GroupLayout(jXPanel4);
        jXPanel4.setLayout(jXPanel4Layout);
        jXPanel4Layout.setHorizontalGroup(
            jXPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 587, Short.MAX_VALUE)
        );
        jXPanel4Layout.setVerticalGroup(
            jXPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 129, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        jXPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Résultat de la recherche"));

        jTable_ClientP.setModel(_tableModeleClientP);
        jScrollPane2.setViewportView(jTable_ClientP);

        jbtn_SelectionClientP.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/tick.png"))); // NOI18N
        jbtn_SelectionClientP.setText("Sélectionner");
        jbtn_SelectionClientP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_SelectionClientPActionPerformed(evt);
            }
        });

        jButton6.setText("Annuler");
        jButton6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton6ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel5Layout = new javax.swing.GroupLayout(jXPanel5);
        jXPanel5.setLayout(jXPanel5Layout);
        jXPanel5Layout.setHorizontalGroup(
            jXPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 587, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jXPanel5Layout.createSequentialGroup()
                .addContainerGap(391, Short.MAX_VALUE)
                .addComponent(jbtn_SelectionClientP)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton6)
                .addContainerGap())
        );
        jXPanel5Layout.setVerticalGroup(
            jXPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel5Layout.createSequentialGroup()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 164, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jbtn_SelectionClientP)
                    .addComponent(jButton6))
                .addContainerGap())
        );

        javax.swing.GroupLayout jXTitledPanel_ClientPLayout = new javax.swing.GroupLayout(jXTitledPanel_ClientP.getContentContainer());
        jXTitledPanel_ClientP.getContentContainer().setLayout(jXTitledPanel_ClientPLayout);
        jXTitledPanel_ClientPLayout.setHorizontalGroup(
            jXTitledPanel_ClientPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jXPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jXPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jXTitledPanel_ClientPLayout.setVerticalGroup(
            jXTitledPanel_ClientPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXTitledPanel_ClientPLayout.createSequentialGroup()
                .addComponent(jXPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jXPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Particulier", jXTitledPanel_ClientP);

        jXTitledPanel_ClientS.setTitle("  Recherche d'un client société");

        jXPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Critères de rechercher"));

        jLabel1.setText("Nom:");

        jbtn_RechercheNomClientS.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jbtn_RechercheNomClientS.setText("Recherche");
        jbtn_RechercheNomClientS.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_RechercheNomClientSActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel7Layout = new javax.swing.GroupLayout(jXPanel7);
        jXPanel7.setLayout(jXPanel7Layout);
        jXPanel7Layout.setHorizontalGroup(
            jXPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jXPanel7Layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addGap(18, 18, 18)
                        .addComponent(jtxt_NomClientS, javax.swing.GroupLayout.DEFAULT_SIZE, 519, Short.MAX_VALUE))
                    .addComponent(jbtn_RechercheNomClientS, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jXPanel7Layout.setVerticalGroup(
            jXPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(jtxt_NomClientS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jbtn_RechercheNomClientS)
                .addContainerGap(40, Short.MAX_VALUE))
        );

        jTabbedPane3.addTab("Nom", jXPanel7);

        jLabel15.setText("Numéro de client:");

        jButton10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jButton10.setText("Rechercher");
        jButton10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton10ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel8Layout = new javax.swing.GroupLayout(jXPanel8);
        jXPanel8.setLayout(jXPanel8Layout);
        jXPanel8Layout.setHorizontalGroup(
            jXPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jXPanel8Layout.createSequentialGroup()
                        .addComponent(jLabel15)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(Jtxt_IdClientS, javax.swing.GroupLayout.DEFAULT_SIZE, 474, Short.MAX_VALUE))
                    .addComponent(jButton10, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jXPanel8Layout.setVerticalGroup(
            jXPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel15)
                    .addComponent(Jtxt_IdClientS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton10)
                .addContainerGap(40, Short.MAX_VALUE))
        );

        jTabbedPane3.addTab("Numéro de client", jXPanel8);

        jLabel10.setText("Rue:");

        jLabel12.setText("Numéro:");

        jLabel13.setText("Code Postal:");

        jLabel14.setText("Commune:");

        jButton9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/eye.png"))); // NOI18N
        jButton9.setText("Rechercher");
        jButton9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton9ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jXPanel9Layout = new javax.swing.GroupLayout(jXPanel9);
        jXPanel9.setLayout(jXPanel9Layout);
        jXPanel9Layout.setHorizontalGroup(
            jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel9Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jXPanel9Layout.createSequentialGroup()
                        .addGroup(jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel14)
                            .addComponent(jLabel10))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jtxt_RueClientS, javax.swing.GroupLayout.DEFAULT_SIZE, 368, Short.MAX_VALUE)
                            .addComponent(jtxt_CommuneClientS, javax.swing.GroupLayout.DEFAULT_SIZE, 368, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel13)
                            .addComponent(jLabel12))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jtxt_NumeroClientS, javax.swing.GroupLayout.DEFAULT_SIZE, 70, Short.MAX_VALUE)
                            .addComponent(jtxt_CodePostalClientS, javax.swing.GroupLayout.DEFAULT_SIZE, 70, Short.MAX_VALUE)))
                    .addComponent(jButton9, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jXPanel9Layout.setVerticalGroup(
            jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel9Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(jtxt_NumeroClientS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel12)
                    .addComponent(jtxt_RueClientS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel14)
                    .addComponent(jtxt_CodePostalClientS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel13)
                    .addComponent(jtxt_CommuneClientS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jButton9)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane3.addTab("Adresse", jXPanel9);

        javax.swing.GroupLayout jXPanel6Layout = new javax.swing.GroupLayout(jXPanel6);
        jXPanel6.setLayout(jXPanel6Layout);
        jXPanel6Layout.setHorizontalGroup(
            jXPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 587, Short.MAX_VALUE)
        );
        jXPanel6Layout.setVerticalGroup(
            jXPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        jXPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Résultat de la recherche"));

        jTable_ClientS.setModel(_tableModeleClientS);
        jScrollPane1.setViewportView(jTable_ClientS);

        jButton2.setText("Selectionner");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jButton3.setText("Annuler");

        javax.swing.GroupLayout jXPanel10Layout = new javax.swing.GroupLayout(jXPanel10);
        jXPanel10.setLayout(jXPanel10Layout);
        jXPanel10Layout.setHorizontalGroup(
            jXPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 587, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jXPanel10Layout.createSequentialGroup()
                .addContainerGap(411, Short.MAX_VALUE)
                .addComponent(jButton2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton3)
                .addContainerGap())
        );
        jXPanel10Layout.setVerticalGroup(
            jXPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXPanel10Layout.createSequentialGroup()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jXPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton2)
                    .addComponent(jButton3))
                .addContainerGap())
        );

        javax.swing.GroupLayout jXTitledPanel_ClientSLayout = new javax.swing.GroupLayout(jXTitledPanel_ClientS.getContentContainer());
        jXTitledPanel_ClientS.getContentContainer().setLayout(jXTitledPanel_ClientSLayout);
        jXTitledPanel_ClientSLayout.setHorizontalGroup(
            jXTitledPanel_ClientSLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jXPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jXPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jXTitledPanel_ClientSLayout.setVerticalGroup(
            jXTitledPanel_ClientSLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jXTitledPanel_ClientSLayout.createSequentialGroup()
                .addComponent(jXPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jXPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Société", jXTitledPanel_ClientS);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 608, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 447, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed
        
        this.setVisible(false);
        
    }//GEN-LAST:event_jButton6ActionPerformed

    private void jbtn_RechercherActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_RechercherActionPerformed

                try {

            String[] objTmp = new String[3];
            this._tableModeleClientP.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IClientParticulier> lstTmp = factory.getGestionClients().rechercherClientParticulier_Adresse(jtxt_RueClientP.getText(),
                                                                                                                jtxt_NumeroClientP.getText(),
                                                                                                                jtxt_CodePostalClientP.getText(),
                                                                                                                jtxt_CommuneClientP.getText());
            this._cltP = lstTmp;
            for (int i = 0; i < lstTmp.size(); i++){
                objTmp[0] = String.valueOf(this._cltP.get(i).getIdClient());
                objTmp[1] = this._cltP.get(i).getNom();
                objTmp[2] = this._cltP.get(i).getPrenom();
                this._tableModeleClientP.addRow(objTmp);
                }
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }        
        
        
}//GEN-LAST:event_jbtn_RechercherActionPerformed

    private void jbtn_RechercheNomClientSActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_RechercheNomClientSActionPerformed
        
        try {

            String[] objTmp = new String[4];
            this._tableModeleClientS.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IClientSociete> lstTmp = factory.getGestionClients().rechercherClientSociete_NomSociete(jtxt_NomClientS.getText());
            this._cltS = lstTmp;
            objTmp[0] = String.valueOf(this._cltS.get(0).getIdClient()); 
            objTmp[1] = this._cltS.get(0).getNomSociete();
            objTmp[2] = this._cltS.get(0).getNom();
            objTmp[3] = this._cltS.get(0).getPrenom();
            this._tableModeleClientS.addRow(objTmp);
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        
}//GEN-LAST:event_jbtn_RechercheNomClientSActionPerformed

    private void jbtn_RechercheIdClientPActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_RechercheIdClientPActionPerformed

         try {
            String[] objTmp = new String[3];
            this._tableModeleClientP.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IClientParticulier> lstTmp = factory.getGestionClients().rechercherClientParticulier_NumClient(Integer.parseInt(jtxt_IdClientP.getText()));
            this._cltP = lstTmp;
            objTmp[0] = String.valueOf(this._cltP.get(0).getIdClient());
            objTmp[1] = this._cltP.get(0).getNom();
            objTmp[2] = this._cltP.get(0).getPrenom();
            this._tableModeleClientP.addRow(objTmp);
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }       
        
    }//GEN-LAST:event_jbtn_RechercheIdClientPActionPerformed

    private void jbtn_RechercheNomPrenomClientPActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_RechercheNomPrenomClientPActionPerformed

         try {
            String[] objTmp = new String[3];
            this._tableModeleClientP.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IClientParticulier> lstTmp = factory.getGestionClients().rechercherClientParticulier_NomPrenom(jtxt_NomClientP.getText(), jtxt_PrenomClientP.getText());
            this._cltP = lstTmp;
            for (int i = 0; i < lstTmp.size(); i++){
                objTmp[0] = String.valueOf(this._cltP.get(i).getIdClient());
                objTmp[1] = this._cltP.get(i).getNom();
                objTmp[2] = this._cltP.get(i).getPrenom();
                this._tableModeleClientP.addRow(objTmp);
                }
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }        
        
    }//GEN-LAST:event_jbtn_RechercheNomPrenomClientPActionPerformed

    private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton10ActionPerformed

        try {

            String[] objTmp = new String[4];
            this._tableModeleClientS.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IClientSociete> lstTmp = factory.getGestionClients().rechercherClientSociete_NumClient(Integer.parseInt(Jtxt_IdClientS.getText()));
            this._cltS = lstTmp;
            objTmp[0] = String.valueOf(this._cltS.get(0).getIdClient()); 
            objTmp[1] = this._cltS.get(0).getNomSociete();
            objTmp[2] = this._cltS.get(0).getNom();
            objTmp[3] = this._cltS.get(0).getPrenom();
            this._tableModeleClientS.addRow(objTmp);
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }        
        
    }//GEN-LAST:event_jButton10ActionPerformed

    private void jbtn_SelectionClientPActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_SelectionClientPActionPerformed
        try {

            System.out.println(jTable_ClientP.getSelectedRow());
            IClientParticulier clientP = this._cltP.elementAt(jTable_ClientP.getSelectedRow());
            this._defaultClientP.initComponents2(this._parent);
            this._defaultClientP.setClient(clientP);
            this._parent.frmDetails();
        } catch (CodePostalMinimumMultiplicityException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }  catch (NullPointerException ex){
            JOptionPane.showMessageDialog(this,"Veuillez sélectionner un client.","Information",JOptionPane.INFORMATION_MESSAGE);
        } catch (ArrayIndexOutOfBoundsException ex){
            JOptionPane.showMessageDialog(this,"Veuillez sélectionner un client.","Information",JOptionPane.INFORMATION_MESSAGE);
        }
        
    }//GEN-LAST:event_jbtn_SelectionClientPActionPerformed

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        try {

            System.out.println(jTable_ClientP.getSelectedRow());
            IClientSociete clientS = this._cltS.elementAt(jTable_ClientS.getSelectedRow());
            this._defaultClientS.initComponents2(this._parent);
            this._defaultClientS.setClient(clientS);
            this._parent.frmDetailsS();
        } catch (CodePostalMinimumMultiplicityException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }  catch (NullPointerException ex){
            JOptionPane.showMessageDialog(this,"Veuillez sélectionner un client.","Information",JOptionPane.INFORMATION_MESSAGE);
        } catch (ArrayIndexOutOfBoundsException ex){
            JOptionPane.showMessageDialog(this,"Veuillez sélectionner un client.","Information",JOptionPane.INFORMATION_MESSAGE);
        }
        
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton9ActionPerformed
        
            try {

            String[] objTmp = new String[4];
            this._tableModeleClientS.setRowCount(0);
            IUC_Factory factory = this._parent.getFactoryRmi();
            Vector<IClientSociete> lstTmp = factory.getGestionClients().rechercherClientSociete_Adresse(jtxt_RueClientS.getText(),
                                                                                                        jtxt_NumeroClientS.getText(),
                                                                                                        jtxt_CodePostalClientS.getText(),
                                                                                                        jtxt_CommuneClientS.getText());
            this._cltS = lstTmp;
            for (int i = 0; i < lstTmp.size(); i++){
            objTmp[0] = String.valueOf(this._cltS.get(i).getIdClient()); 
            objTmp[1] = this._cltS.get(i).getNomSociete();
            objTmp[2] = this._cltS.get(i).getNom();
            objTmp[3] = this._cltS.get(i).getPrenom();
            this._tableModeleClientS.addRow(objTmp);
            }
        } catch (RemoteException ex) {
            Logger.getLogger(Jp_RechercherClient.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_jButton9ActionPerformed
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField Jtxt_IdClientS;
    private javax.swing.JButton jButton10;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton6;
    private javax.swing.JButton jButton9;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTabbedPane jTabbedPane2;
    private javax.swing.JTabbedPane jTabbedPane3;
    private javax.swing.JTable jTable_ClientP;
    private javax.swing.JTable jTable_ClientS;
    private org.jdesktop.swingx.JXPanel jXPanel1;
    private org.jdesktop.swingx.JXPanel jXPanel10;
    private org.jdesktop.swingx.JXPanel jXPanel2;
    private org.jdesktop.swingx.JXPanel jXPanel3;
    private org.jdesktop.swingx.JXPanel jXPanel4;
    private org.jdesktop.swingx.JXPanel jXPanel5;
    private org.jdesktop.swingx.JXPanel jXPanel6;
    private org.jdesktop.swingx.JXPanel jXPanel7;
    private org.jdesktop.swingx.JXPanel jXPanel8;
    private org.jdesktop.swingx.JXPanel jXPanel9;
    private org.jdesktop.swingx.JXTitledPanel jXTitledPanel_ClientP;
    private org.jdesktop.swingx.JXTitledPanel jXTitledPanel_ClientS;
    private javax.swing.JButton jbtn_RechercheIdClientP;
    private javax.swing.JButton jbtn_RechercheNomClientS;
    private javax.swing.JButton jbtn_RechercheNomPrenomClientP;
    private javax.swing.JButton jbtn_Rechercher;
    private javax.swing.JButton jbtn_SelectionClientP;
    private javax.swing.JTextField jtxt_CodePostalClientP;
    private javax.swing.JTextField jtxt_CodePostalClientS;
    private javax.swing.JTextField jtxt_CommuneClientP;
    private javax.swing.JTextField jtxt_CommuneClientS;
    private javax.swing.JTextField jtxt_IdClientP;
    private javax.swing.JTextField jtxt_NomClientP;
    private javax.swing.JTextField jtxt_NomClientS;
    private javax.swing.JTextField jtxt_NumeroClientP;
    private javax.swing.JTextField jtxt_NumeroClientS;
    private javax.swing.JTextField jtxt_PrenomClientP;
    private javax.swing.JTextField jtxt_RueClientP;
    private javax.swing.JTextField jtxt_RueClientS;
    // End of variables declaration//GEN-END:variables
    
}
